// IBookManager.aidl
package com.white.androidstudy.aidl;

// Declare any non-default types here with import statements
import com.white.androidstudy.aidl.Book;
import com.white.androidstudy.aidl.IBookArrivedListener;

interface IBookManager {
    /**
     * Demonstrates some basic types that you can use as parameters
     * and return values in AIDL.
     */
    List<Book> getBookList();

    void addBook(in Book b);

    void addOnBookArrivedListener(in IBookArrivedListener l);

    void removeOnBookArrivedListener(in IBookArrivedListener l);
}
